package com.exchange.common.model.dto;

import java.io.Serializable;
import java.math.BigDecimal;

import cn.hutool.json.JSONUtil;


/**
 * @ClassName: LevelMatch
 * @Description: TODO(水平已撮合记录数据)
 */
public class LevelMatch implements Serializable {
	
	private static final long serialVersionUID = -4911741995736837242L;

	private BigDecimal price;
	
	private BigDecimal number;
	
	private Boolean eatUp;
	
	
	
	public BigDecimal getPrice() {
		return price;
	}



	public void setPrice(BigDecimal price) {
		this.price = price;
	}



	public BigDecimal getNumber() {
		return number;
	}



	public void setNumber(BigDecimal number) {
		this.number = number;
	}



	public Boolean getEatUp() {
		return eatUp;
	}



	public void setEatUp(Boolean eatUp) {
		this.eatUp = eatUp;
	}



	public String toJsonString() {
		return JSONUtil.toJsonStr(this);
	}



	public LevelMatch(BigDecimal price, BigDecimal number) {
		super();
		this.price = price;
		this.number = number;
	}
}
